local extension = Package:new("md_forth")
extension.extensionName = "modify"

extension:loadSkillSkelsByPath("./packages/modify/skills")

Fk:loadTranslationTable{
    ["md_forth"] = "修四",
    ["md"] = "修",
    ["mdsgsh"] = "修",
}

General:new(extension, "md__menghuo", "qun", 4):addSkills { "huoshou", "zaiqi" }
Fk:loadTranslationTable{
  ["md__menghuo"] = "孟获",
  ["#md__menghuo"] = "南蛮王",
  ["illustrator:md__menghuo"] = "废柴男",

  ["~md__menghuo"] = "七纵之恩……来世……再报了……",
}

General:new(extension, "md__zhurong", "qun", 4, 4, General.Female):addSkills { "juxiang", "lieren" }
Fk:loadTranslationTable{
  ["md__zhurong"] = "祝融",
  ["#md__zhurong"] = "野性的女王",
  ["cv:md__zhurong"] = "水原",
  ["illustrator:md__zhurong"] = "废柴男",

  ["~md__zhurong"] = "大王，我……先走一步了……",
}


local osGuanqiujian = General(extension, "md__guanqiujian", "wei", 3)
osGuanqiujian:addSkills { "os__zhengrong", "os__hongju" }
osGuanqiujian:addRelatedSkills { "os__qingce", "os__saotao" }

Fk:loadTranslationTable{
  ["md__guanqiujian"] = "毌丘俭",
  ["#md__guanqiujian"] = "镌功铭征荣",
  ["illustrator:md__guanqiujian"] = "猎枭", -- 平高句丽

  ["~md__guanqiujian"] = "好谋而不达，此事必有隐患。",
}

General:new(extension, "md__xiahouzie", "qun", 3, 4, General.Female):addSkills {
    "md__xuechang",
    "os__duoren",
}
Fk:loadTranslationTable{
    ["md__xiahouzie"] = "夏侯紫萼",
    ["#md__xiahouzie"] = "孤草飘零",
    ["illustrator:md__xiahouzie"] = "M云涯",
  
    ["~md__xiahouzie"] = "祖父，紫萼不能为您昭雪了……",
}
  
local guanyu = General:new(extension, "md__jspguanyu", "wei", 4)
guanyu:addSkills { "md__danji", "wusheng"}
guanyu:addRelatedSkills{"nuzhan" , "md__weizhen"}
Fk:loadTranslationTable{
    ["md__jspguanyu"] = "关羽",
    ["#md__jspguanyu"] = "汉寿亭侯",
    ["illustrator:md__jspguanyu"] = "Zero",
  
    ["$wusheng_md__jspguanyu1"] = "以义传魂，以武入圣！",
    ["$wusheng_md__jspguanyu2"] = "义击逆流，武安黎庶！",
    ["~md__jspguanyu"] = "樊城一去，死亦无惧！",
}


Fk:addChooseGeneralRule{
  name = "askForGeneralsChosen_prompt",
  card_filter = Util.TrueFunc,
  feasible = function (selected, data, extra_data)
    return #selected == extra_data.n
  end,
  prompt = "#sgsh-choose-generals",
  default_choice = function(data, extra_data)
    return table.random(data, extra_data.n)
  end
}
Fk:loadTranslationTable{
  ["#sgsh-choose-generals"] = "幻化：选择你要失去的副将",
}

General:new(extension, "mdsgsh__nanhualaoxian", "qun", 3):addSkills { "md__jidao", "md__feisheng", "md__jinghe", "md_mode" }
Fk:loadTranslationTable{
  ["mdsgsh__nanhualaoxian"] = "南华老仙",
  ["#mdsgsh__nanhualaoxian"] = "虚步太清",
  ["illustrator:mdsgsh__nanhualaoxian"] = "鬼画府",

  ["~mdsgsh__nanhualaoxian"] = "此理闻所未闻，参不透啊。",
}

General:new(extension, "mdsgsh__zuoci", "qun", 3):addSkills { "sgsh__huashen", "md__sgshxinsheng", "md_mode" }
Fk:loadTranslationTable{
  ["mdsgsh__zuoci"] = "左慈",
  ["#mdsgsh__zuoci"] = "谜之仙人",
  ["illustrator:mdsgsh__zuoci"] = "JanusLausDeo",

  ["~mdsgsh__zuoci"] = "万事，皆有因果。",
}

General:new(extension, "md__guohuai", "wei", 4):addSkills { "md__jingce", "os_ex__yuzhang" }
Fk:loadTranslationTable{
  ["md__guohuai"] = "界郭淮",
  ["#md__guohuai"] = "垂问秦雍",
  ["illustrator:md__guohuai"] = "凝聚永恒",

  ["~md__guohuai"] = "姜维小儿，竟然……",
}

return extension